<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>DesignPattern: C:/96_project/DesignPattern/10_Composite/groupinc/DESIGNPATTERN_Entry.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="DesignPattern.png"/></td>
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">DesignPattern
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.16 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_dbfba622dfdcb1864982b79adc9807da.html">10_Composite</a></li><li class="navelem"><a class="el" href="dir_155d0624fcb07f01ced12867ce9068c4.html">groupinc</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">DESIGNPATTERN_Entry.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___entry_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<span class="preprocessor">#ifndef CXX_DESIGNPATTERN_ENTRY_H</span></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160;<span class="preprocessor">#define CXX_DESIGNPATTERN_ENTRY_H</span></div>
<div class="line"><a name="l00012"></a><span class="lineno">   12</span>&#160;<span class="preprocessor">#include &lt;string&gt;</span></div>
<div class="line"><a name="l00013"></a><span class="lineno">   13</span>&#160; </div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="keyword">using namespace </span>std;</div>
<div class="line"><a name="l00015"></a><span class="lineno"><a class="line" href="class_entry.html">   15</a></span>&#160;<span class="keyword">class </span><a class="code" href="class_entry.html">Entry</a></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;{</div>
<div class="line"><a name="l00017"></a><span class="lineno">   17</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00018"></a><span class="lineno"><a class="line" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304">   18</a></span>&#160;    <span class="keyword">enum</span> <a class="code" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304">ENTRY_TYPE</a></div>
<div class="line"><a name="l00019"></a><span class="lineno">   19</span>&#160;    {</div>
<div class="line"><a name="l00020"></a><span class="lineno"><a class="line" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304ad2054339b5d91b439c5b09de2f21877d">   20</a></span>&#160;        ENTRY_NONE = 0,</div>
<div class="line"><a name="l00021"></a><span class="lineno"><a class="line" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304ae21be6d1fa056f0d03e3eb96c45349c1">   21</a></span>&#160;        <a class="code" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304ae21be6d1fa056f0d03e3eb96c45349c1">ENTRY_FILE</a>,</div>
<div class="line"><a name="l00022"></a><span class="lineno"><a class="line" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304af9c744025326d9b432f707ae150474dd">   22</a></span>&#160;        <a class="code" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304af9c744025326d9b432f707ae150474dd">ENTRY_DIRECTORY</a>,</div>
<div class="line"><a name="l00023"></a><span class="lineno">   23</span>&#160; </div>
<div class="line"><a name="l00024"></a><span class="lineno"><a class="line" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304ad8dec6dbd560ad112a4c3a78589313ba">   24</a></span>&#160;        <a class="code" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304ad8dec6dbd560ad112a4c3a78589313ba">ENTRY_ALL</a>,</div>
<div class="line"><a name="l00025"></a><span class="lineno"><a class="line" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304ae65ddd37e397525c8cc34b2219e7d2fd">   25</a></span>&#160;        <a class="code" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304ae65ddd37e397525c8cc34b2219e7d2fd">ENTRY_INVALID</a>,</div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;    };</div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="class_entry.html#a8d4efc893ac9688fec7450f073eb7e61">   27</a></span>&#160;    <span class="keyword">static</span> <span class="keyword">const</span> <span class="keywordtype">string</span> STATIC_CONST_STRING_ENTRY[ENTRY_ALL];</div>
<div class="line"><a name="l00028"></a><span class="lineno">   28</span>&#160; </div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    <span class="keyword">virtual</span> ~<a class="code" href="class_entry.html">Entry</a>();</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160; </div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160;    <span class="keyword">virtual</span> <a class="code" href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a> PrintList();</div>
<div class="line"><a name="l00044"></a><span class="lineno">   44</span>&#160; </div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    <a class="code" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304">ENTRY_TYPE</a> GetEntry();</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160; </div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160;    <span class="keywordtype">string</span> GetName();</div>
<div class="line"><a name="l00060"></a><span class="lineno">   60</span>&#160; </div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160;    <span class="keyword">virtual</span> <span class="keywordtype">int</span> GetSize();</div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;    <a class="code" href="class_entry.html">Entry</a>(<a class="code" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304">ENTRY_TYPE</a> eEntry, <span class="keyword">const</span> <span class="keywordtype">string</span>&amp; strName, <span class="keywordtype">int</span> iSize);</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160; </div>
<div class="line"><a name="l00085"></a><span class="lineno">   85</span>&#160;    <a class="code" href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a> SetEntry(<a class="code" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304">ENTRY_TYPE</a> eEntry);</div>
<div class="line"><a name="l00086"></a><span class="lineno">   86</span>&#160; </div>
<div class="line"><a name="l00093"></a><span class="lineno">   93</span>&#160;    <a class="code" href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a> SetName(<span class="keyword">const</span> <span class="keywordtype">string</span>&amp; strName);</div>
<div class="line"><a name="l00094"></a><span class="lineno">   94</span>&#160; </div>
<div class="line"><a name="l00101"></a><span class="lineno">  101</span>&#160;    <a class="code" href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a> SetSize(<span class="keywordtype">int</span> iSize);</div>
<div class="line"><a name="l00102"></a><span class="lineno">  102</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00109"></a><span class="lineno">  109</span>&#160;    <a class="code" href="class_entry.html">Entry</a>();</div>
<div class="line"><a name="l00110"></a><span class="lineno">  110</span>&#160; </div>
<div class="line"><a name="l00117"></a><span class="lineno">  117</span>&#160;    <a class="code" href="class_entry.html">Entry</a>(<span class="keyword">const</span> <a class="code" href="class_entry.html">Entry</a>&amp; cEntry);</div>
<div class="line"><a name="l00118"></a><span class="lineno">  118</span>&#160; </div>
<div class="line"><a name="l00125"></a><span class="lineno">  125</span>&#160;    <a class="code" href="class_entry.html">Entry</a>&amp; operator=(<span class="keyword">const</span> <a class="code" href="class_entry.html">Entry</a>&amp; cEntry);</div>
<div class="line"><a name="l00126"></a><span class="lineno">  126</span>&#160; </div>
<div class="line"><a name="l00127"></a><span class="lineno">  127</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00128"></a><span class="lineno">  128</span>&#160;<span class="keyword">protected</span>:</div>
<div class="line"><a name="l00129"></a><span class="lineno">  129</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00130"></a><span class="lineno"><a class="line" href="class_entry.html#a86cadd25e597336274a0f6dceb22c516">  130</a></span>&#160;    <a class="code" href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304">ENTRY_TYPE</a> <a class="code" href="class_entry.html#a86cadd25e597336274a0f6dceb22c516">m_eEntry</a>;</div>
<div class="line"><a name="l00131"></a><span class="lineno"><a class="line" href="class_entry.html#a5fe87c5049e6ce99c7cacccb80bdba01">  131</a></span>&#160;    <span class="keywordtype">string</span> <a class="code" href="class_entry.html#a5fe87c5049e6ce99c7cacccb80bdba01">m_strName</a>;</div>
<div class="line"><a name="l00132"></a><span class="lineno"><a class="line" href="class_entry.html#a9f5e47cbf2d4612e090ba26ad9b539eb">  132</a></span>&#160;    <span class="keywordtype">int</span> <a class="code" href="class_entry.html#a9f5e47cbf2d4612e090ba26ad9b539eb">m_iSize</a>;</div>
<div class="line"><a name="l00133"></a><span class="lineno">  133</span>&#160;};</div>
<div class="line"><a name="l00134"></a><span class="lineno">  134</span>&#160; </div>
<div class="line"><a name="l00135"></a><span class="lineno">  135</span>&#160;<span class="preprocessor">#endif  </span><span class="comment">/* &gt;&gt;CXX_DESIGNPATTERN_ENTRY_H&lt;&lt; */</span><span class="preprocessor"></span></div>
<div class="line"><a name="l00136"></a><span class="lineno">  136</span>&#160;<span class="preprocessor"></span><span class="comment">/* EOF */</span><span class="preprocessor"></span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="aclass_entry_html_a0171c4530d0feb66d0cc9aae544e1304af9c744025326d9b432f707ae150474dd"><div class="ttname"><a href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304af9c744025326d9b432f707ae150474dd">Entry::ENTRY_DIRECTORY</a></div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___entry_8h_source.html#l00022">DESIGNPATTERN_Entry.h:22</a></div></div>
<div class="ttc" id="aclass_entry_html_a0171c4530d0feb66d0cc9aae544e1304"><div class="ttname"><a href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304">Entry::ENTRY_TYPE</a></div><div class="ttdeci">ENTRY_TYPE</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___entry_8h_source.html#l00018">DESIGNPATTERN_Entry.h:18</a></div></div>
<div class="ttc" id="a_my_self_def_8h_html_a7927e087749615dae3114cc27b91c86d"><div class="ttname"><a href="_my_self_def_8h.html#a7927e087749615dae3114cc27b91c86d">VOID</a></div><div class="ttdeci">void VOID</div><div class="ttdef"><b>Definition:</b> <a href="_my_self_def_8h_source.html#l00011">MySelfDef.h:11</a></div></div>
<div class="ttc" id="aclass_entry_html_a86cadd25e597336274a0f6dceb22c516"><div class="ttname"><a href="class_entry.html#a86cadd25e597336274a0f6dceb22c516">Entry::m_eEntry</a></div><div class="ttdeci">ENTRY_TYPE m_eEntry</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___entry_8h_source.html#l00130">DESIGNPATTERN_Entry.h:130</a></div></div>
<div class="ttc" id="aclass_entry_html_a0171c4530d0feb66d0cc9aae544e1304ae65ddd37e397525c8cc34b2219e7d2fd"><div class="ttname"><a href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304ae65ddd37e397525c8cc34b2219e7d2fd">Entry::ENTRY_INVALID</a></div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___entry_8h_source.html#l00025">DESIGNPATTERN_Entry.h:25</a></div></div>
<div class="ttc" id="aclass_entry_html"><div class="ttname"><a href="class_entry.html">Entry</a></div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___entry_8h_source.html#l00015">DESIGNPATTERN_Entry.h:15</a></div></div>
<div class="ttc" id="aclass_entry_html_a0171c4530d0feb66d0cc9aae544e1304ae21be6d1fa056f0d03e3eb96c45349c1"><div class="ttname"><a href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304ae21be6d1fa056f0d03e3eb96c45349c1">Entry::ENTRY_FILE</a></div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___entry_8h_source.html#l00021">DESIGNPATTERN_Entry.h:21</a></div></div>
<div class="ttc" id="aclass_entry_html_a9f5e47cbf2d4612e090ba26ad9b539eb"><div class="ttname"><a href="class_entry.html#a9f5e47cbf2d4612e090ba26ad9b539eb">Entry::m_iSize</a></div><div class="ttdeci">int m_iSize</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___entry_8h_source.html#l00132">DESIGNPATTERN_Entry.h:132</a></div></div>
<div class="ttc" id="aclass_entry_html_a0171c4530d0feb66d0cc9aae544e1304ad8dec6dbd560ad112a4c3a78589313ba"><div class="ttname"><a href="class_entry.html#a0171c4530d0feb66d0cc9aae544e1304ad8dec6dbd560ad112a4c3a78589313ba">Entry::ENTRY_ALL</a></div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___entry_8h_source.html#l00024">DESIGNPATTERN_Entry.h:24</a></div></div>
<div class="ttc" id="aclass_entry_html_a5fe87c5049e6ce99c7cacccb80bdba01"><div class="ttname"><a href="class_entry.html#a5fe87c5049e6ce99c7cacccb80bdba01">Entry::m_strName</a></div><div class="ttdeci">string m_strName</div><div class="ttdef"><b>Definition:</b> <a href="_d_e_s_i_g_n_p_a_t_t_e_r_n___entry_8h_source.html#l00131">DESIGNPATTERN_Entry.h:131</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
